import { CmdCode, EventCode } from '../../code/index';
import { CmdSignModel, BiDictionaryModel } from '../../models/index';
import { AHttpCmd } from '../base.cmd';

export class BiDictionaryListCmd extends AHttpCmd {
    constructor(private code: string) {
        super();
    }

    req(): CmdSignModel {
        let model = new BiDictionaryModel();
        model.catCode = this.code;
        return super.buildCmdSign(model);
    }

    resp(data: any): void {
    }

    error(model: CmdSignModel): void {
    }

    getCmdCode(): string {
        return CmdCode.BI_DICTIONARY_LIST;
    }
}
